package com.example.order.itheima.annotation;


import com.example.order.itheima.ClientRegister;
import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(ClientRegister.class)
public @interface EnableClients {

    /**
     * 配置要扫描的包
     * @return
     */
    @AliasFor("basePackages")
    String[] value() default {};


    String[] basePackages() default {};
}
